﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Entity.DomainModels.ApiEntity.OutPut
{
    public class StockWaring
    {
        /// <summary>
        ///产品名称
        /// </summary>
        [Display(Name = "产品名称")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string ProductName { get; set; }
        /// <summary>
        ///规格
        /// </summary>
        [Display(Name = "规格")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string Specification { get; set; }

        /// <summary>
        ///默认仓库
        /// </summary>
        [Display(Name = "默认仓库")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string DefaultRepository { get; set; }

        /// <summary>
        ///预警（下）
        /// </summary>
        [Display(Name = "预警（下）")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string EarlyWarningFront { get; set; }

        /// <summary>
        ///预警（上）
        /// </summary>
        [Display(Name = "预警（上）")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string EarlyWarningBelow { get; set; }

        /// <summary>
        ///总库存
        /// </summary>
        [Display(Name = "总库存")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? SumStock { get; set; }
    }
}
